public class SmithBidStrategy extends ABidStrategy
fAgentID, fBidHistory, fPreferenceProfile, fUtilitySpace| Constructor and Description |
|---|
SmithBidStrategy(BidHistory pHist,
UtilitySpace utilitySpace,
PreferenceProfileManager pPreferenceProfile,
AgentID pId)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Bid |
getBestOpponentOffer()
Return the best offer made by your opponent.
|
Bid |
getMostOptimalBid()
Calculate the most optimal bid
|
Action |
getNextAction(double time)
Generate in new action
|
public SmithBidStrategy(BidHistory pHist, UtilitySpace utilitySpace, PreferenceProfileManager pPreferenceProfile, AgentID pId)
pHist - The bidhistoryutilitySpace - UtilityspacepPreferenceProfile - Preference profilepId - Our idpublic Action getNextAction(double time)
getNextAction in class ABidStrategypublic Bid getMostOptimalBid()
java.lang.Exceptionpublic Bid getBestOpponentOffer()
java.lang.Exception